import LayoutBase from '@/layouts/LayoutBase';

export default [
  {
    path: '/supplier',
    component: LayoutBase,
    meta: {
      title: '天章集团采购',
      isLogin: false,
    },
    children: [
      {
        path: '/supplier',
        component: () => import(/* webpackChunkName: "supplier" */'@/pages/supplier/index'),
        meta: {
          title: '供应',
        },
      },
      {
        path: '/supplier/form',
        component: () => import(/* webpackChunkName: "supplier" */'@/pages/supplier/form'),
        meta: {
          title: '登记信息',
          loginReturnUrl: '/supplier',
        },
      },
      {
        path: '/supplier/registerSuccess',
        component: () => import(/* webpackChunkName: "supplier" */'@/pages/supplier/registerSuccess'),
        meta: {
          title: '',
          noBack: true,
        },
      },
    ],
  },
];
